/*
We have MapList that will hold our maps, just like the Map class had a list of tiles.
Also, as have a Load function and Render function.
We have a static AreaControl, much like Entities have a static control.
This will allow us to manipulate an Area from any class by using this object.
Next, we have the AreaSize which is the number of maps.
We have a surface for the Tileset, Area is going to load a tileset for us.
*/
#ifndef _GArea_H_    
	#define _GArea_H_

#include "GMap.h" 

class GArea 
{    
public:  
	static GArea AreaControl;    

public:     
	std::vector<GMap>       MapList;  

public:
	GMap* GetMap(int X, int Y);

	GTile* GetTile(int X, int Y);

private:      
	int                     AreaSize;

	SDL_Surface*        Surf_Tileset;    

public:       
	GArea(); 
	~GArea();

	int		GetAreaSize();

	bool    OnLoad(char* File);  

	void    OnRender(SDL_Surface* Surf_Display, int CameraX, int CameraY);     

	void    OnCleanup();
}; 

#endif